<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Oxygine: oxygine::RenderStateCache Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Oxygine
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">2g game engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceoxygine.html">oxygine</a></li><li class="navelem"><a class="el" href="classoxygine_1_1_render_state_cache.html">RenderStateCache</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classoxygine_1_1_render_state_cache-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">oxygine::RenderStateCache Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adfe5e2e8d64f0ae5c29ff0df1609d427"><td class="memItemLeft" align="right" valign="top"><a id="adfe5e2e8d64f0ae5c29ff0df1609d427"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>RenderStateCache</b> (<a class="el" href="classoxygine_1_1_i_video_driver.html">IVideoDriver</a> *d)</td></tr>
<tr class="separator:adfe5e2e8d64f0ae5c29ff0df1609d427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a639cd399b58daa7862bfb9288e66ba71"><td class="memItemLeft" align="right" valign="top"><a id="a639cd399b58daa7862bfb9288e66ba71"></a>
const spNativeTexture &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getTexture</b> (int sampler)</td></tr>
<tr class="separator:a639cd399b58daa7862bfb9288e66ba71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19d58339dd2e712b8613d00380a8408a"><td class="memItemLeft" align="right" valign="top"><a id="a19d58339dd2e712b8613d00380a8408a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTexture</b> (int sampler, const spNativeTexture &amp;t)</td></tr>
<tr class="separator:a19d58339dd2e712b8613d00380a8408a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae71c5a5b4187009f73136f6549d5b0a2"><td class="memItemLeft" align="right" valign="top"><a id="ae71c5a5b4187009f73136f6549d5b0a2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setBlendMode</b> (blend_mode blend)</td></tr>
<tr class="separator:ae71c5a5b4187009f73136f6549d5b0a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a690b2eb200dd6d83ff0a060a5634707e"><td class="memItemLeft" align="right" valign="top"><a id="a690b2eb200dd6d83ff0a060a5634707e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setShader</b> (<a class="el" href="classoxygine_1_1_shader_program.html">ShaderProgram</a> *prog)</td></tr>
<tr class="separator:a690b2eb200dd6d83ff0a060a5634707e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cff777afcb66078e3be134699c7c993"><td class="memItemLeft" align="right" valign="top"><a id="a0cff777afcb66078e3be134699c7c993"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>reset</b> ()</td></tr>
<tr class="separator:a0cff777afcb66078e3be134699c7c993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa95e0497f499fa6fcfd3e46de32869f3"><td class="memItemLeft" align="right" valign="top"><a id="aa95e0497f499fa6fcfd3e46de32869f3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>resetTextures</b> ()</td></tr>
<tr class="separator:aa95e0497f499fa6fcfd3e46de32869f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a468baae4126c634287c60579d68cd1f6"><td class="memItemLeft" align="right" valign="top"><a id="a468baae4126c634287c60579d68cd1f6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>changeDriver</b> (<a class="el" href="classoxygine_1_1_i_video_driver.html">IVideoDriver</a> *d)</td></tr>
<tr class="separator:a468baae4126c634287c60579d68cd1f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:a0cc196a977047f1891c84dd12fb3d64b"><td class="memItemLeft" align="right" valign="top"><a id="a0cc196a977047f1891c84dd12fb3d64b"></a>enum &#160;</td><td class="memItemRight" valign="bottom">{ <b>MAX_TEXTURES</b> = 8
 }</td></tr>
<tr class="separator:a0cc196a977047f1891c84dd12fb3d64b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:abd472551901b30a4fe42ced75942cde1"><td class="memItemLeft" align="right" valign="top"><a id="abd472551901b30a4fe42ced75942cde1"></a>
spNativeTexture&#160;</td><td class="memItemRight" valign="bottom"><b>_textures</b> [MAX_TEXTURES]</td></tr>
<tr class="separator:abd472551901b30a4fe42ced75942cde1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a5ec4559b4db87cad18173c5af5bb7a"><td class="memItemLeft" align="right" valign="top"><a id="a0a5ec4559b4db87cad18173c5af5bb7a"></a>
<a class="el" href="classoxygine_1_1_shader_program.html">ShaderProgram</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>_program</b></td></tr>
<tr class="separator:a0a5ec4559b4db87cad18173c5af5bb7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dbd4d124c84c03eff8a8dd290666362"><td class="memItemLeft" align="right" valign="top"><a id="a6dbd4d124c84c03eff8a8dd290666362"></a>
<a class="el" href="classoxygine_1_1_i_video_driver.html">IVideoDriver</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>_driver</b></td></tr>
<tr class="separator:a6dbd4d124c84c03eff8a8dd290666362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca7b7e55d0d8ebc71377dbf3652aef62"><td class="memItemLeft" align="right" valign="top"><a id="aca7b7e55d0d8ebc71377dbf3652aef62"></a>
blend_mode&#160;</td><td class="memItemRight" valign="bottom"><b>_blend</b></td></tr>
<tr class="separator:aca7b7e55d0d8ebc71377dbf3652aef62"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>oxygine/src/oxygine/<a class="el" href="_s_t_d_renderer_8h_source.html">STDRenderer.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 4 2018 03:50:07 for Oxygine by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
